package com.indusfo.spc.mapper;

import com.indusfo.spc.pojo.PrintedVersion;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 熊冰
 * @Date 2019/11/8 15:10
 * 打印版本
 */
public interface PrintedVersionMapper {
    //增加
    int insertPrintedVersion(PrintedVersion printedVersion);
    //更新
    int updatePrintedVersion(PrintedVersion printedVersion);
    //查询
    List<PrintedVersion> queryPrintedVersion(PrintedVersion printedVersion);
    //总数
    int countPrintedVersion(PrintedVersion printedVersion);
    //判重
    int checkPrintedVersion(PrintedVersion printedVersion);
    //删除
    int deletePrintedVersion(@Param("printedVersionIds") List<Integer> printedVersionIds, @Param("dataState") Integer dataState);

}